using System;
using System.Collections.Generic;
using System.Text;
using Medusa.Service.Business.Core.Entities;
using Newtonsoft.Json;

namespace NP.BPMReportPlatform.CourseTrain.Dtos
{
    /// <summary>
    /// 流程DTO
    /// </summary>
    public class TrainingMasterDataDto
    {
        public class ResponseDto
        {
            /// <summary>
            /// 返回状态
            /// OK：成功 其他信息为出错提示信息
            /// </summary>
            [JsonProperty(PropertyName = "RESULT")]
            public string Result { get; set; }

            /// <summary>
            /// 返回说明
            /// result为OK时，返回输出的记录数
            /// </summary>
            [JsonProperty(PropertyName = "MSG")]
            public string Msg { get; set; }

            /// <summary>
            /// 培训记录号
            /// </summary>
            [JsonProperty(PropertyName = "ID_LIST")]
            public List<string> IdList { get; set; } = new List<string>();

            /// <summary>
            /// 培训单号
            /// </summary>
            [JsonProperty(PropertyName = "TID_LIST")]
            public List<string> TIdList { get; set; } = new List<string>();

            /// <summary>
            /// 课程名称
            /// </summary>
            [JsonProperty(PropertyName = "NAME_LIST")]
            public List<string> NameList { get; set; } = new List<string>();

            /// <summary>
            /// 参训员工工号
            /// </summary>
            [JsonProperty(PropertyName = "EID_LIST")]
            public List<string> EIdList { get; set; } = new List<string>();

            /// <summary>
            /// 授课时间
            /// </summary>
            [JsonProperty(PropertyName = "TTIME_LIST")]
            public List<string> TTimeList { get; set; } = new List<string>();

            /// <summary>
            /// 用餐次数
            /// </summary>
            [JsonProperty(PropertyName = "YCCS_LIST")]
            public List<string> YCCSList { get; set; } = new List<string>();

            /// <summary>
            /// 是否享有差旅津贴
            /// </summary>
            [JsonProperty(PropertyName = "CLJT_LIST")]
            public List<string> CLJT_LIST { get; set; } = new List<string>();
        }

        public class RequestDto
        {
            /// <summary>
            /// 培训项目可见人员userid
            /// </summary>
            [JsonProperty(PropertyName = "STRYEARMONTH")]
            public string StrYearMonth { get; set; }
        }
    }
}
